package top.aigoo.project01.entity;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Description: 本地账户
 *               localAuth{001,admin,123456,2021-09-21,2021-09-21,{1,'zhangsan'...}}
 * @Author: Mr.OYSHUO.欧阳大叔 mail:1642302522@qq.com
 * @Version 1.0.0
 * @Date: 2021/8/3 14:45
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString

public class LocalAuth {
	// 主键id
	private Long localAuthId;
	// 账户
	private String userName;
	// 密码
	private String password;
	// 创建时间
	private Date createTime;
	// 最近一次更新时间
	private Date updateTime;
	// 复合对象 --- 个人信息，关系为1对1对应
	private PersonInfo personInfo;

}
